<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <button v-on:click="handler">点击我</button>
        <br>
        <button @click="handlerClick($event,'hi')">点我点我</button>
    </div>
    <script>
        new Vue({
            el:"#app",
            data:{},
            methods: {
                handler(evevnt){
                    console.log(event,'我是事件对象');
                },
                handlerClick(e,a){
                    console.log(e,'事件对象');
                    alert(a)
                }
            },
        })
    </script>
</body>
</html>